//
//  Movie.h
//  HuateVideo
//
//  Created by Tiger on 12-7-10.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
//movieType
typedef enum{
    MovieChannelTypeMovie = 7,
    MovieChannelTypeSeries =5,
    MovieChannelTypeMicroViedo=6,
    MovieChannelTypeMusic=4,
    MovieChannelTypePic=3,
    MovieChannelTypeNews=2,
    MovieChannelTypeOriginal=1,
    MovieChannelTypeHot=8 //首页大图推荐，以上数字均与服务器返回数字对应
}  MovieChannelType;

@interface Movie : NSObject <NSCoding> {
    NSString *News_id;
    NSInteger OrderNUM;//计数
    NSString *News_title;
    NSString *Type;
    NSString *News_pic;
    NSString *News_keyword;
    NSString *News_host_node_id;
    NSString *File_id;
    NSString *File_alias;
    NSString *Display_order;
    
    NSString *storePath;
    NSString *File_path;
    
    NSArray *storePath_array;
    NSArray *File_path_array;
    
    NSString *News_arg2,*News_arg1;
    NSString *News_arg3;
    NSString *News_arg4;
    NSString *News_arg5;
    NSString *News_content;
    NSInteger News_click_count;
    NSString *News_pub_time;
    MovieChannelType detailType;
    NSString *News_author;
	UIImage *iconImg;
    
    NSInteger secondPlayed;
    NSInteger CountNum;
	double movieContentLength;
	NSInteger statusCode;//下载状态码，0正在下载、1正在等待、2已暂停、3下载失败
}
@property(nonatomic)MovieChannelType detailType;
@property(readwrite)NSInteger statusCode;
@property(readwrite)double movieContentLength;
@property(readwrite)NSInteger secondPlayed;
@property(nonatomic, retain)UIImage *iconImg;
@property(nonatomic, retain)NSString *News_id;
@property(readwrite)NSInteger OrderNUM;
@property(nonatomic, retain)NSString *News_title;
@property(nonatomic, retain)NSString *Type;
@property(nonatomic, retain)NSString *News_pic;
@property(nonatomic, retain)NSString *News_keyword;
@property(nonatomic, retain)NSString *News_host_node_id;
@property(nonatomic, retain)NSString *File_id;
@property(nonatomic, retain)NSString *File_alias;
@property(nonatomic, retain)NSString *Display_order;
@property(nonatomic, retain)NSString *storePath;
@property(nonatomic, retain)NSString *File_path;
@property(nonatomic, retain)NSArray *storePath_array;
@property(nonatomic, retain)NSArray *File_path_array;
@property(nonatomic, retain)NSString *News_arg2,*News_arg1;
@property(nonatomic, retain)NSString *News_arg3;
@property(nonatomic, retain)NSString *News_arg4;
@property(nonatomic, retain)NSString *News_arg5;
@property(nonatomic, retain)NSString *News_content;
@property(readwrite)NSInteger News_click_count;
@property(nonatomic, retain)NSString *News_pub_time;
@property(nonatomic,retain)NSString *News_author;
@property(readwrite)NSInteger CountNum;
- (id)initwithMovie:(Movie*)movie;
@end
@interface Video : Movie
@end
@interface MessageList : Movie
@end
@interface DelePlay : Movie
@end
@interface Music : Movie
@end
@interface Original : Movie
@end
@interface Picture : Movie
@end
@interface MovideoScreen : Movie
@end
@interface DelePlayScreen : Movie   
@end
@interface VideoScreen : Movie
@end
@interface MusicScreen : Movie
@end
@interface MessageByScreenType : Movie
@end
@interface DSJAdress : Movie
@end